package doudou5G.pojo;

import java.io.Serializable;

public class MobileCard implements Serializable {
    String cardNumber;
    String userName;
    String passWord;
    ServicePackage serPackage;
    double consumAmount;
    double money;
    int realTalkTime;
    int realSMSCount;
    int realFlow;
    int moneyDifference;

    public MobileCard(String cardNumber, String userName, String passWord, ServicePackage serPackage, double consumAmount, double money, int realTalkTime, int realSMSCount, int realFlow) {
        this.cardNumber = cardNumber;
        this.userName = userName;
        this.passWord = passWord;
        this.serPackage = serPackage;
        this.consumAmount = consumAmount;
        this.money = money;
        this.realTalkTime = realTalkTime;
        this.realSMSCount = realSMSCount;
        this.realFlow = realFlow;
    }

    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public ServicePackage getSerPackage() {
        return serPackage;
    }

    public void setSerPackage(ServicePackage serPackage) {
        this.serPackage = serPackage;
    }

    public double getConsumAmount() {
        return consumAmount;
    }

    public void setConsumAmount(double consumAmount) {
        this.consumAmount = consumAmount;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public int getRealTalkTime() {
        return realTalkTime;
    }

    public void setRealTalkTime(int realTalkTime) {
        this.realTalkTime = realTalkTime;
    }

    public int getRealSMSCount() {
        return realSMSCount;
    }

    public void setRealSMSCount(int realSMSCount) {
        this.realSMSCount = realSMSCount;
    }

    public int getRealFlow() {
        return realFlow;
    }

    public void setRealFlow(int realFlow) {
        this.realFlow = realFlow;
    }

    public int getMoneyDifference() {
        return moneyDifference;
    }

    public void setMoneyDifference(int moneyDifference) {
        this.moneyDifference = moneyDifference;
    }

    void showMeg(){
        System.out.println("Card Number: " + cardNumber);
        System.out.println("User Name: " + userName);
        System.out.println("Pass Word: " + passWord);
        System.out.println("Ser Package: " + serPackage);
        System.out.println("Consum Amount: " + consumAmount);
        System.out.println("Money: " + money);
        System.out.println("Real Talk Time: " + realTalkTime);
        System.out.println("Real SMS Count: " + realSMSCount);
        System.out.println("Real Flow: " + realFlow);
        System.out.println("MoneyDifference: " + moneyDifference);
    };
}
